package com.javaee.service.doctor.impl;

import com.javaee.mapper.doctor.SelectPlanMapper;
import com.javaee.service.doctor.DPlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DPlanServiceImpl implements DPlanService {
    @Autowired
    private SelectPlanMapper planMapper;
    @Override
    public List<Map<String, Object>> findAllWithDoctor(int pageNum, int pageSize, int id) {
        return planMapper.findAllWithDoctor(pageNum,pageSize,id);
    }
    @Override
    public int selectCount(int id) {
        return planMapper.selectCount(id);
    }
}
